package com.mzwise.tunnel.wx.v3.request;

import com.mzwise.tunnel.utils.JsonUtils;

import java.io.Serializable;

public class StockUserRoleRequest implements Serializable {
    private int maxCoupons;
    private int maxAmount;
    private int maxCouponsPerUser;
    private int maxAmountByDay;
    private Boolean naturalPersonLimit = false;
    private Boolean preventApiAbuse = true;

    public int getMaxCoupons() {
        return maxCoupons;
    }

    public void setMaxCoupons(int maxCoupons) {
        this.maxCoupons = maxCoupons;
    }

    public int getMaxAmount() {
        return maxAmount;
    }

    public void setMaxAmount(int maxAmount) {
        this.maxAmount = maxAmount;
    }

    public int getMaxCouponsPerUser() {
        return maxCouponsPerUser;
    }

    public void setMaxCouponsPerUser(int maxCouponsPerUser) {
        this.maxCouponsPerUser = maxCouponsPerUser;
    }

    public int getMaxAmountByDay() {
        return maxAmountByDay;
    }

    public void setMaxAmountByDay(int maxAmountByDay) {
        this.maxAmountByDay = maxAmountByDay;
    }

    public Boolean getNaturalPersonLimit() {
        return naturalPersonLimit;
    }

    public void setNaturalPersonLimit(Boolean naturalPersonLimit) {
        this.naturalPersonLimit = naturalPersonLimit;
    }

    public Boolean getPreventApiAbuse() {
        return preventApiAbuse;
    }

    public void setPreventApiAbuse(Boolean preventApiAbuse) {
        this.preventApiAbuse = preventApiAbuse;
    }

    public String toString() {
        return JsonUtils.toJsonUnderscore(this);
    }
}
